﻿namespace Mitc.Portal.Services.Configuration.Layoutconfg
{
    #region -------------------Refer----------------------
    using MITC.Portal.Core.Entitys.Configuration.LayoutsConfg;
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.SharePoint;

    #endregion
    
    public interface ILayoutConfig
    {
        #region -------------------Method CRUD----------------------
        void CreateLayoutConfg(LayoutEntity layout);
        void EditLayoutConfg(LayoutEntity layout);
        void DeleteLayoutConfg(int id);
        LayoutEntity GetLayoutbyId(int id);
        LayoutEntity GetLayoutbyType(int id);
        List<LayoutEntity> GetLayoutConfg(SPWeb rootweb);       
        #endregion
    }
}
